/**
 * Title:		T14RunEdge.java
 * Description: Test program for understanding the pond size
 * 
 * @version		1.0 May 2009
 * @author		Hidemitsu Izawa (hi2136@columbia.edu)
 */
import kfrog.Frog;
import kfrog.Pond;

public class T14RunEdge {

	public static void main(String[] args) {
		/** pond */
		int x = 900;
		Pond pond = new Pond(x,x);
		pond.setPondColor("WHITE");
		/** frog */
		Frog frog1 = new Frog(pond,1);
		frog1.speed(5);
		frog1.move(0,0);
		frog1.startdraw();
		frog1.forward(x);
		frog1.turnleft(90);
		frog1.forward(x);
		frog1.turnleft(90);
		frog1.forward(x);
		frog1.turnleft(90);
		frog1.forward(x);
		frog1.stopdraw();
		
		frog1.move(450,0);
		frog1.turnleft(90);

		
		frog1.startdraw();
		frog1.leftcurve(450, 360);
		frog1.stopdraw();
		Thread FROG1 = new Thread(frog1);
		FROG1.start();
	}
}
